package com.example.springboot_system.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author XGS
 * @date 2020/3/10
 * @description: 划价收费—拿药信息表
 */
@Data
@TableName("his_toll_takedrug")
public class TollTakeDrug {
    @Column(name = "id")
    private String id;

    @Column(name = "create_datetime")
    private Date createDatetime;

    @Column(name = "patient_id")
    private String patientId;
    /**
     * 处方号
     */
    @Column(name = "prescription_num", nullable = false, length = 255)
    private String prescriptionNum;

    /**
     * 收费操作员
     */
    @Column(name = "toll_operator", nullable = true, length = 255)
    private String tollOperator;
    /**
     * 收费时间
     */
    @Column(name = "toll_date_time", nullable = true, length = 50)
    private Date tollDateTime;
    /**
     * 取药状态：0未取 1已取
     */
    @Column(name = "taking_drug_status", nullable = false, length = 20)
    private int takingDrugStatus;
    /**
     * 药房操作员
     */
    @Column(name = "taking_drug_operator", nullable = true, length = 255)
    private String takingDrugOperator;
    /**
     * 拿药时间
     */
    @Column(name = "taking_drug_date_time", nullable = true, length = 50)
    private Date takingDrugDateTime;


}
